package com.yehebl.entity;

import com.yehebl.orm.anno.Entity;
import com.yehebl.orm.anno.Id;
import com.yehebl.orm.enums.IdType;
import com.yehebl.orm.enums.TableNameRule;

import java.util.Date;

/**
 * log 日志表
 *
 * @author tzd
 */
@Entity(tableNameRule = TableNameRule.day)
public class LoginLog {

    @Id(IdType.snowflake)
    private Long id;

    private Date createDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
